package com.lhf.springcloud.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class LoginController {
    @GetMapping("/userLogin")
    @ApiOperation("用户登录界面")
    public String listUploadedFiles() {
        return "project/login";
    }
    @GetMapping("/index")
    @ApiOperation("主页")
    public String index() {
        return "project/index";
    }
    @GetMapping("/college/recruitStudents")
    @ApiOperation("招收学生概况")
    public String recruitStudents() {
        return "project/college/recruitStudents";
    }
    @GetMapping("college/index")
    @ApiOperation("大学概况主页")
    public String collegeIndex() {
        return "project/college/index";
    }
    @GetMapping("student/index")
    @ApiOperation("学生概况主页")
    public String studentIndex() {
        return "project/student/index";
    }
    @GetMapping("college/teacheWork")
    @ApiOperation("教学情况主页")
    public String collegeTeacheWork() {
        return "project/college/teacheWork";
    }
    @GetMapping("major/index")
    @ApiOperation("专业主页")
    public String majorIndex() {
        return "project/major/index";
    }
    @GetMapping("teachers/index")
    @ApiOperation("老师主页")
    public String teachersIndex() {
        return "project/teachers/index";
    }
    @GetMapping("course/index")
    @ApiOperation("课程主页")
    public String courseIndex() {
        return "project/course/index";
    }
    @GetMapping("course/courseFeedback")
    @ApiOperation("课程反馈页面")
    public String courseCourseFeedback() {
        return "project/course/courseFeedback";
    }
    @GetMapping("map/mymap")
    @ApiOperation("集团各校区位置页面")
    public String myMap() {
        return "project/map/mymap";
    }
}
